def calcMfreq(vocabList,fullText):
    freqDict = {}
    for token in vocabList:
        freqDict[token] = fullText.count(token)
    sortedFreq = sorted(freqDict.items(),key=lambda x:x[1],reverse=True)
    return sortedFreq[:30]